<template>
	<view>
		<view class="title">{{data.title}}</view>
		<view class="content" v-html="data.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: '',
			}
		},
		onLoad(params) {
			console.log(JSON.parse(params.data));
			this.data = JSON.parse(params.data)
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.title {
		font-size: 24px;
		margin: 1.5vh 0;
		text-align: center;
	}

	.content {
		padding: 0 3.5%;
		margin-top: 3vh;
	}
</style>
